package com.moyun.zbmy.zizhou.ui.activities;

import android.os.Bundle;
import android.text.TextUtils;

import com.moyun.zbmy.zizhou.R;
import com.moyun.zbmy.zizhou.base.BaseActivity;
import com.moyun.zbmy.zizhou.ui.fragment.MineFragment;
import com.moyun.zbmy.zizhou.ui.fragment.TvFragment;

import butterknife.ButterKnife;

/**
 * 个人中心（我的）
 */
public class MineActivity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mine);
        ButterKnife.bind(this);

        MineFragment fragment = new MineFragment();
        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.fragment_container, fragment)
                .commit();

    }

    public void closeView() {
        finish();
    }

    @Override
    public String getCurrentTitle() {
        return "我的";
    }

    @Override
    protected void initInject() {
        setContentView(R.layout.activity_tv);
        ButterKnife.bind(this);
    }
}
